package com.yzw.hellospringcloudwebadminfeign.service.hystrix;

import com.yzw.hellospringcloudwebadminfeign.service.AdminService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @Athor:Yuan
 * @Date:2020/4/6 14:32
 * Desc:熔断器
 */
@Component
public class AdminHystrix implements AdminService {
    @Override
    public String sayHi(String message) {
        return String.format("Hi,your message is %s , but request erro",message);
    }
}
